<!DOCTYPE html>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>会员中心 - 查看订单</title>
<link href="__STATIC__/weixin/css/shop.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__STATIC__/weixin/js/jquery.js" charset="utf-8"></script>
<script type="text/javascript" src="__STATIC__/weixin/js/ecmall.js" charset="utf-8"></script>
<script type="text/javascript" src="__STATIC__/weixin/js/touchslider.dev.js" charset="utf-8"></script>
<script type="text/javascript">

var SITE_URL = "http://store.weiapps.cn";
var REAL_SITE_URL = "http://store.weiapps.cn";
var PRICE_FORMAT = '¥%s';

$(function(){
    var span = $("#child_nav");
    span.hover(function(){
        $("#float_layer:not(:animated)").show();
    }, function(){
        $("#float_layer").hide();
    });
});

</script>
</head>

<body>
<include file="public:head" />
<div class="content">
    <div class="particular">
        <div class="particular_wrap">
            <dl class="order_detail">
            	<dt class="til_font">订单详情</dt>
                <dt>订单状态</dt>
                <dd>
                <switch name="order.status" >
                         <case value="1">待付款</case>
                         <case value="2">待发货</case>
                         <case value="3">待收货</case>
                         <default />完成
                </switch>
                </dd>
                <dt>订单号</dt>
                <dd>{$order.orderId}</dd>
                <dt>下单时间</dt>
                <dd>{$order.add_time|date='Y-m-d H:i:s',###}</dd>
            </dl>
     
            <div class="ware_line">
                <div class="ware">
                <volist name='item_detail' id='item' >
                     <ul class="order_detail_list">
                       <li><img src="{:$item['img']}" height="50" width="50"></li>
                       <li>品名:{$item.title}</li>
                       <li>大小:{$item.size}</li>
                       <li>颜色:{$item.color}</li>
                       <li class="red">数量:{$item.quantity}</li>
                       <li>价格:¥{$item.price}</li>
                     </ul> 
                </volist>   

                <div class="transportation">
                    <if condition='$order.freetype eq 0' >
                                                            卖家包邮 
                    <else />
                                                            运费:
                       <span>¥{$order.freeprice}
                       <strong>(<switch name="order.freetype" >
                         <case value="1">平邮</case>
                         <case value="2">快递</case>
                         <default />EMS
                         </switch>)
                       </strong>
                       </span>
                    </if>	
                    <br>
                                                    总价:<b>¥{$order.order_sumPrice}</b>
                 </div>
                 
                 	 <if condition='$order.status neq 1' >
                     <ul class="order_detail_list">
                       <li>支付方式:<switch name="order.supportmetho" >
                         <case value="1">支付宝</case>
                         <case value="2">货到付款</case>
                         <case value="3">银联支付</case>
                         <default />无
                         </switch>
                       </li>
                       <li>支付时间:{$order.support_time|date='Y-m-d H:i:s',###}</li>
                     </ul> 
                     </if>
                </div>
            </div>
            
			<dl>
				<dt class="til_font">物流信息</dt>
				<dt>收货地址</dt>
				<dd>{$order.address_name}, &nbsp;{$order.mobile}, {$order.address}</dd>
				<dt>配送方式</dt>
				<dd><switch name="order.freetype" >
                        <case value="1">平邮</case>
                        <case value="2">快递</case>
                        <case value="3">EMS</case>
                        <default />卖家包邮
                        </switch></dd>
                <dt>配送快递</dt>
                <dd><if condition="$order.userfree eq '0'">无需快递<elseif condition="$order.userfree neq '' and $order.userfree neq '0' " />{$order.userfree}<else />-</if></dd>
                <dt>快递编号</dt>
                <dd><if condition="$order.freecode eq ''">-<else />{$order.freecode}</if></dd>
                <dt>发货时间</dt>
                <dd><if condition="$order.fahuo_time eq ''">-<else />{$order.fahuo_time|date='Y-m-d H:i:s',###}</if></dd>

            </dl>
        </div>
        <div class="clear"></div>
        
        <if condition='$order.status eq 1' >
        <div class="btn_list">
        	<a class="order_cancel" href="{:U('order/cancelOrder',array('orderId'=>$order['orderId'],'tokenTall'=>$tokenTall))}" id="order118_action_cancel"> 取消订单</a>
	        <a class="order_pay" href="{:U('order/pay',array('orderId'=>$order['orderId'],'tokenTall'=>$tokenTall))}" id="order118_action_pay">付款</a>
        </div>
        </if>
        
        <div class="adorn_right2"></div>
        <div class="adorn_right3"></div>
        <div class="adorn_right4"></div>
    </div>
    <div class="clear"></div>
</div>
<include file="public:footer" />
</body>
</html>